﻿export default [
  {
    path: '/',
    name: 'index',
    component: resolve => require(['@/views/public/index.vue'], resolve),
    meta: {
      title: 'AW大师',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics',
    name: 'dynamics',
    // component: resolve => require(['@/views/dynamics/index.vue'], resolve),
    component: resolve => require(['@/views/dynamics/workbench/index.vue'], resolve),
    meta: {
      title: '首页',
      tabbar: {
        show: true
      }
    }
  },
  {
    path: '/preview',
    name: 'preview',
    component: resolve => require(['@/views/dynamics/workbench/preview.vue'], resolve),
    meta: {
      title: '首页',
      tabbar: {
        show: true
      }
    }
  },
  {
    path: '/dynamics/dataCount',
    name: 'dataCount',
    component: resolve => require(['@/views/dynamics/dataCount/dataCount.vue'], resolve),
    meta: {
      title: '数据统计',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/browse',
    name: 'browse',
    component: resolve => require(['@/views/dynamics/article/browse.vue'], resolve),
    meta: {
      title: '文章浏览量',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/browse/:id',
    name: 'record',
    component: resolve => require(['@/views/dynamics/article/record.vue'], resolve),
    meta: {
      title: '文章浏览记录',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/interact',
    name: 'interact',
    component: resolve => require(['@/views/dynamics/interact.vue'], resolve),
    meta: {
      title: '互动数量',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/message/messageList',
    name: 'messageList',
    component: resolve => require(['@/views/dynamics/message/messageList.vue'], resolve),
    meta: {
      title: '消息',
      tabbar: {
        show: false
      },
      back: {
        show: true
      }
    }
  },
  {
    path: '/dynamics/message/sysMessage',
    name: 'sysMessage',
    component: resolve => require(['@/views/dynamics/message/sysMessage.vue'], resolve),
    meta: {
      title: '系统消息',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/message/unreadMessage',
    name: 'unreadMessage',
    component: resolve => require(['@/views/dynamics/message/unreadMessage.vue'], resolve),
    meta: {
      title: '未读消息',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/todoList',
    name: 'todoList',
    component: resolve => require(['@/views/dynamics/todoList.vue'], resolve),
    meta: {
      title: '今日待办',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/thread',
    name: 'thread',
    component: resolve => require(['@/views/dynamics/thread.vue'], resolve),
    meta: {
      title: '访客',
      tabbar: {
        show: false
      },
      back: {
        show: true
      }
    }
  },
  {
    path: '/dynamics/activityTrack',
    name: 'activityTrack',
    component: resolve => require(['@/views/dynamics/activityTrack.vue'], resolve),
    meta: {
      title: '动态',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/houseShareList',
    name: 'houseShareList',
    component: resolve => require(['@/views/dynamics/houseShareList.vue'], resolve),
    meta: {
      title: '楼盘分享记录',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/cardShareList',
    name: 'cardShareList',
    component: resolve => require(['@/views/dynamics/cardShareList.vue'], resolve),
    meta: {
      title: '名片分享记录',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/articleShareList',
    name: 'articleShareList',
    component: resolve => require(['@/views/dynamics/articleShareList.vue'], resolve),
    meta: {
      title: '文章分享记录',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/shareData',
    name: 'shareData',
    component: resolve => require(['@/views/dynamics/shareData.vue'], resolve),
    meta: {
      title: '',
      tabbar: {
        show: false
      }
    }
  },
  {
    path: '/dynamics/demo',
    name: 'demo',
    component: resolve => require(['@/views/dynamics/demo.vue'], resolve),
    meta: {
      title: 'demo',
      tabbar: {
        show: false
      }
    }
  }
]
